// This file was automatically generated from header.soy.
// Please don't edit this file by hand.

goog.provide('tauge.soy.Header');

goog.require('soy');
goog.require('soy.StringBuilder');


/**
 * @param {Object.<string, *>=} opt_data
 * @param {soy.StringBuilder=} opt_sb
 * @return {string}
 * @notypecheck
 */
tauge.soy.Header.generateHtml = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('\t\t<ol class="header-sysinfo"><li><img class="header-sysinfo-logo-img" src="', soy.$$escapeHtml(opt_data.sysInfoLogoUrl), '" width="40px" height="40px"/></li><li><div class="header-sysinfo-name"> ', soy.$$escapeHtml(opt_data.sysInfoName), ' </div><div class="header-sysinfo-version"> ', soy.$$escapeHtml(opt_data.sysInfoVersion), ' </div></li><li class="header-sysinfo-module" id="liHeaderSysInfoModule"></li></ol>', (opt_data.userInfoToken != 0) ? '<ol class="header-userinfo"><li><img src="' + soy.$$escapeHtml(opt_data.userInfoAvatarUrl) + '" width="40px" height="40px" /> </li><li><div class="header-userinfo-realname"><span>' + soy.$$escapeHtml(opt_data.userInfoRealName) + '</span></div><div><span class="header-userinfo-signout">Sign out</span> &nbsp | &nbsp <span class="header-userinfo-changepwd">Change password</span></div></li></ol>' : '');
  return opt_sb ? '' : output.toString();
};
